<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Anagrafiche</title>
	
	<link rel="stylesheet" type="text/css" href="css/stile.css" >
	<link href="css/bootstrap.css" rel="stylesheet" media="screen">

</head>

<body>

	<h1>Benvenuto ${utente.username}</h1>
	
	<table id="zebra-verticale">
		<tr>
			<th scope="col">Id</th>
			<th scope="col">Cognome</th>
			<th scope="col">Nome</th>
		</tr>
		
		<c:forEach   var="bean" varStatus="status" items="${dati}">
			<tr>
				<td>${bean.id}</td>
				<td><a href="QueryServlet?id=${bean.id}" >${bean.cogn}</a></td>
				<td>${bean.nome}</td>
			</tr>
		</c:forEach>
		
	</table>
	
</body>
</html>